← Back to issue list

SNAPCRAFT_PART_INSTALL doesn't expand in build-environment assignments

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1822375
Type
issue
State
open
Author
~brlin
Labels
Created
2019-03-29 20:33:20.622464+00:00
Updated
2019-03-29 20:33:20.622464+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

The following assignment doesn't work: ```yaml parts: _part_name_: build-environment: - PYTHONPATH: $SNAPCRAFT_PART_INSTALL/lib/python3.6 ``` It'll expand to `/lib/python3.6` in the `override-build` scriptlet. Refer https://forum.snapcraft.io/t/problems-with-the-parts-part-name-build-environment-property/10642 for discussion.

Evaluation history

No evaluation history available.